home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3797 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.1 KB  |  46 lines

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help! Definition of error
  5. Date: 26 Jan 1996 00:04:43 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4e95qr$2kj@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Jan 25, 1996 13:24:09 in article <Help! Definition of error>, 'Lance
  15. Perry <lperry@hiwaay.net>' wrote: 
  16.  
  17.  
  18. >Could someone explain to me what the following error could be: 
  19. >error L2029: 'int __far __cdecl olon(struct cda_def __far*, 
  20. >unsigned char __far*,int,unsigned char __far*,int,int)' : unresolved
  21. external 
  22. >The 'olon' function is in a library that I am trying to link to. I am
  23. using 
  24.  
  25. Oracle OCI, possibly? 
  26.  
  27. >VC++ 1.5/MFC 2.5. 
  28. >Does anyone have any ideas??? 
  29. Try this in your source code (all of them where the Oracle headers 
  30. are included) 
  31.  
  32. extern "C" { 
  33. #include "theheaderfilewhereolonisdeclared.h" 
  34.  } 
  35.  
  36. For explanation as to why, look up extern "C" in your docs. 
  37.  
  38. -- 
  39. Pete Grant 
  40. Kalevi, Inc. 
  41. Object Oriented Software Development
  42.